package com.ruoyi.service.jpjs.bi_index.impl;

import com.ruoyi.mapper.jpjs.bi_index.IndexMapper;
import com.ruoyi.service.jpjs.bi_index.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    private IndexMapper indexMapper;

    @Override
    public List<Map<String, Object>> selectIndexList(Map<String, Object> map) {
        return indexMapper.selectIndexList(map);
    }

    @Override
    public Map<String, Object> selectIndex(String id) {
        return indexMapper.selectIndex(id);
    }

    @Override
    public int addIndex(Map<String, Object> map) {
        return indexMapper.addIndex(map);
    }

    @Override
    public int editIndex(Map<String, Object> map) {
        return indexMapper.editIndex(map);
    }

    @Override
    public int deleteIndex(String id) {
        return indexMapper.deleteIndex(id);
    }
}
